package com.hotel.service.impl;

import java.util.List;

import com.hotel.dao.GuideDao;
import com.hotel.entity.Account;
import com.hotel.entity.Guide;
import com.hotel.service.GuideService;

public class GuideServiceImpl implements GuideService {

	private GuideDao guideDao;

	@Override
	public List<Guide> showGuide(Account user) {
		Integer level = user.getLevel();
		return guideDao.getGuideByLevel(level);
	}

	
	/* ####################################### */
	/* ##########   getter/setter  ########### */
	/* ####################################### */
	public void setGuideDao(GuideDao guideDao) {
		this.guideDao = guideDao;
	}

}
